package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.OrderOperateHistory;

import java.util.List;

/**
 * <p>
 * 订单操作历史记录 服务类
 * </p>
 *
 * @author fukeke
 * @since 2022-11-11
 */
public interface IOrderOperateHistoryService extends IService<OrderOperateHistory> {

    //根据订单id查询订单操作历史记录
    List<OrderOperateHistory> findOperateHistory(Long orderId);

    //批量保存保存订单操作历史记录
    void save(List<OrderOperateHistory> historyList);

    //保存指定的订单操作历史记录
    Integer saveOne(OrderOperateHistory history);

}
